package com.rock.upms.svc.dao.model.mapper;

import com.rock.upms.model.UpmsDepartment;
import com.rock.upms.model.UpmsDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpmsDepartmentMapper {
    long countByExample(UpmsDepartmentExample example);

    int deleteByExample(UpmsDepartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UpmsDepartment record);

    int insertSelective(UpmsDepartment record);

    List<UpmsDepartment> selectByExample(UpmsDepartmentExample example);

    UpmsDepartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UpmsDepartment record, @Param("example") UpmsDepartmentExample example);

    int updateByExample(@Param("record") UpmsDepartment record, @Param("example") UpmsDepartmentExample example);

    int updateByPrimaryKeySelective(UpmsDepartment record);

    int updateByPrimaryKey(UpmsDepartment record);
}